"""
Tkinter布局助手
"""
import ttkbootstrap

# 导入布局文件
from ui import Win as MainWin

# 导入窗口控制器
from control import Controller as MainUIController

# 将窗口控制器 传递给UI
app = MainWin(MainUIController())

if __name__ == "__main__":
    # 主题：cyborg,journal,darkly,flatly,solar,minty,litera,united,pulse,cosmo,lumen
    style = ttkbootstrap.Style(theme='lumen')
    # 启动
    app.mainloop()